//Include("Mz");

/**
 * @fileoverview 取DOM元素
 * @author meizz
 * @version 20090921
 *
 * @name Mz.g
 * @namespace Mz.g
 * @param {HTMLElement/String} e DOM元素或者DOM元素对应的ID
 * @return {HTMLElement} 对应的DOM元素
 */
Mz.g = function(e){
    if (e) {
        var t = typeof e;
        if (t == "string" || (t == "object" && e.constructor == String)) {
            return document.getElementById(e);
        } else if (t == "object") {
            if (e.nodeType == 1) return e;
            else if (e.dom) return e.dom;
        }
    }
    return null;
};